<?php
/**
 * Blog/Post.php
 * --------------------------------------------------
 * Show a single post
 */

$page->styles = $page->post->styles;

?>

<article id="blog-post">
  <div>
    <?php echo html( $page->post->article() ) ?>
  </div>
  <footer>
    <p><time pubdate datetime="<?= date('Y-m-d',$page->post->time()) ?>">published on: <?= NRHCdate( $page->post->date())
    ?></time></p>
  </footer>
</article><!-- #blog-post -->

<ul class="breadcrumbs">
  <li><a href="<?= url('/') ?>">Home</a></li>
  <li><a href="<?= url('/news') ?>">News</a></li>
  <li class="current"><a href="<?= $page->url ?>"><?= $page->post->title ?></a></li>
</ul>
